package com.xll.mapper;

import com.github.pagehelper.Page;
import com.xll.entity.Food;
import com.xll.entity.Hotel;
import org.apache.ibatis.annotations.Param;

public interface HotelMapper {
    Page<Hotel> findPage(String queryString);

    void delete(Long id);

    void update(Hotel  hotel);

    void insert(Hotel hotel);

    Page<Food> findMenus(@Param("keywords") String keywords);

    Hotel findById(Long id);
}
